package com.batatas.platform.service.quartz;

import org.quartz.SchedulerException;

import com.batatas.platform.entity.AjaxJson;
import com.batatas.platform.entity.DataGrid;
import com.batatas.platform.entity.quartz.ScheduleJobEntity;
import com.github.pagehelper.PageInfo;

public interface ScheduleJobService
{
	PageInfo<ScheduleJobEntity> queryScheduleJobForList(DataGrid grid);
	ScheduleJobEntity selectByPrimaryKey(Integer id);
	AjaxJson saveOrUpdate(ScheduleJobEntity entity) throws SchedulerException;
	AjaxJson updateJobState(Integer id,String cmd) throws SchedulerException;
}
